package com.oitsm.commons.entity;

import net.sf.json.JSONObject;
/**
 * 可变成JSON的
 * @author Arab Runner
 * Aug 7, 2011 11:54:46 AM
 */
public class JSONAble{
	public JSONObject toJSON(){
		return JSONObject.fromObject(this);
	}
	@Override
	public String toString(){
		return toJSON().toString();
	}
}
